﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WarehouseManager.Model
{
   public class Hanghoa
   {
       #region"varable"
       private string maHH;
       private string tenHH;
       private float donGia;
       private string donViTinh;
       private int soLuong;
       private string nhaSX;
       #endregion
       #region"pt"
       public string MaHH
       {
           get { return maHH; }
           set { maHH = value; }
       }
       public string TenHH
       {
           get { return tenHH; }
           set { tenHH = value; }
       }
       public float DonGia
       {
           get { return donGia; }
           set { donGia = value; }
       }
       public string DonViTinh
       {
           get { return donViTinh; }
           set { donViTinh = value; }
       }
       public int SoLuong
       {
           get { return soLuong; }
           set { soLuong = value; }
       }
       public string NhaSX
       {
           get { return nhaSX; }
           set { nhaSX = value; }
       }
       #endregion
       public Hanghoa(string maHH, string tenHH, float donGia, string donViTinh, int soLuong, string nhaSX)
       {
           this.maHH = maHH;
           this.tenHH = tenHH;
           this.donGia = donGia;
           this.donViTinh = donViTinh;
           this.soLuong = soLuong;
           this.nhaSX= nhaSX;
       }
   }
}
